﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Configuration;
using MySql.Data.MySqlClient;

namespace WaveMaster.Holidays.Club.Gateway
{
    public class DataBaseConnectivity
    {
        string m_interfaceConnectionString = ConfigurationManager.AppSettings["WMHC_ConnStr"];
        MySqlConnection m_interfaceSQLConnection;
        MySqlConnection m_interfaceSQLConnection_b;
        MySqlConnection m_interfaceSQLConnection_c;

        public DataBaseConnectivity()
        {
            m_interfaceSQLConnection = new MySqlConnection(m_interfaceConnectionString);
            m_interfaceSQLConnection_b = new MySqlConnection(m_interfaceConnectionString);
            m_interfaceSQLConnection_c = new MySqlConnection(m_interfaceConnectionString);
        }
        public MySqlConnection InterfaceSqlConnection
        {
            get { return m_interfaceSQLConnection; }
        }
        public MySqlConnection InterfaceSqlConnection_b
        {
            get { return m_interfaceSQLConnection_b; }
        }
        public MySqlConnection InterfaceSqlConnection_c
        {
            get { return m_interfaceSQLConnection_c; }
        }
    }
}
